Create or Update Merchant Organization
Operation to create or update merchant organization details.
Authentication
This operation requires authentication via one of the following methods:
- Certificate authentication.
-
Basic HTTP authentication as described at
w3.org.
Provide 'MSO.
<your gateway MSO ID>
' in the userid portion and your API password in the password portion.
Request
URL Parameters
Alphanumeric + additional characters
REQUIRED
The identifier that uniquely identifies you or an MSO that has authorized you to use this operation on their behalf.
Data may consist of the characters 0-9, a-z, A-Z, '-', '_', ' ', '&', '+', '!', '$', '%', '.'
Min length: 1 Max length: 16Fields
String
= UPDATE_MERCHANT_ORGANIZATION
FIXED
Any sequence of zero or more unicode characters.
String
OPTIONAL
A transient identifier for the request, that can be used to match the response to the request.
The value provided is not validated, does not persist in the gateway, and is returned as provided in the response to the request.
Data can consist of any characters
REQUIRED
A merchant organization is a grouping of merchants and other merchant organizations that allows a large customer to effectively manage their gateway merchant profiles.Typically the merchant organization structure will correspond to the customer's corporate structure.
REQUIRED
The address of the primary contact person for this merchant organization.
String
REQUIRED
The city or town of the street address.
Data can consist of any characters
Upper case alphabetic text
REQUIRED
The 3 letter ISO standard alpha country code of the address.
Data must consist of the characters A-Z
String
REQUIRED
The post code or zip code of the address.
Data can consist of any characters
String
REQUIRED
The state or province of the address in a form recognized for postal delivery.
Data can consist of any characters
String
REQUIRED
The first line of the street address.
Data can consist of any characters
String
OPTIONAL
An optional second line of the street address.
Data can consist of any characters
Enumeration
REQUIRED
Allows you to define that this merchant organization represents the top of the hierarchy for a legal entity (the gateway calls this a 'Corporate Merchant Organization').You will only be able to assign merchants to merchant organizations within the hierarchy for this Corporate Merchant Organization, if you have first assigned the merchant to this Corporate Merchant Organization.This ensures that you do not accidentally assign a merchant to a merchant organization that belongs to a different legal entity.Only make a merchant organization a corporate merchant organization if you are not planning to assign any parent merchant organizations to it.
Value must be a member of the following list. The values are case sensitive.
CORPORATE
NOT_CORPORATE
String
REQUIRED
The name of the primary contact person for this merchant organization.
Data can consist of any characters
String
OPTIONAL
The name of a contact person for this merchant organization, in case where the primary contact is unavailable.
Data can consist of any characters
String
OPTIONAL
A textual description of the business purpose for which this merchant organization is used.
For example, 'Acme East Asia accounts department'.
Data can consist of any characters
Email
REQUIRED
The email address of the primary contact person for this merchant organization.
The field format restriction ensures that the email address is longer than 3 characters and adheres to a generous subset of valid RFC 2822 email addresses.
Ensures that the email address is longer than 3 characters and adheres to a generous subset of valid RFC 2822 email addresses
Email
OPTIONAL
The email address of the alternative contact person for this merchant organization.
The field format restriction ensures that the email address is longer than 3 characters and adheres to a generous subset of valid RFC 2822 email addresses.
Ensures that the email address is longer than 3 characters and adheres to a generous subset of valid RFC 2822 email addresses
String
REQUIRED
The legal name of the corporate entity for which this merchant organization was created.
For example, Acme Holdings Pty Ltd.
Data can consist of any characters
Alphanumeric + additional characters
OPTIONAL
The list of merchant organizations of which this merchant organization is a member.
If this field is present on an Update Merchant Organization request, any existing parent merchant organizations will be replaced with this set. If this field is absent: when updating a merchant organization, any existing parent merchant organizations will be removed.when creating a new merchant organization, there will be no parent merchant organizations.
Data may consist of the characters 0-9, a-z, A-Z, '-', '_'
Telephone Number
REQUIRED
The phone number for the primary contact person in ITU-T E123 format, for example +1 607 1234 5678.
The number consists of: '+' country code (1, 2 or 3 digits) 'space' national number ( which may embed single spaces characters for readability).
Data consists of '+', country code (1, 2 or 3 digits), 'space', and national number (which may embed single space characters for readability)
Telephone Number
OPTIONAL
The phone number for a alternative contact person in ITU-T E123 format, for example +1 607 1234 5678.
The number consists of: '+' country code (1, 2 or 3 digits) 'space' national number ( which may embed single spaces characters for readability).
Data consists of '+', country code (1, 2 or 3 digits), 'space', and national number (which may embed single space characters for readability)
String
OPTIONAL
The initial password for the merchant organization's administrative user.
This must be provided on operations that create merchant organizations. If it is provided and the merchant organization already exists, this value must match the current value, otherwise the update will be rejected.
Data can consist of any characters
Alphanumeric + additional characters
REQUIRED
The unique identifier of the merchant organization on the gateway.The identifier must use a prefix assigned to you by ANZ Worldline Payment Solutions.
For example, if you have been assigned the prefix 'XYZBANK', and you are creating the 'account department' merchant organization for Acme corp, you could set merchantOrganization to XYZBANK_ACCOUNTS.
Data may consist of the characters 0-9, a-z, A-Z, '-', '_'
Response
Fields
String
CONDITIONAL
A transient identifier for the request, that can be used to match the response to the request.
The value provided is not validated, does not persist in the gateway, and is returned as provided in the response to the request.
Data can consist of any characters
Enumeration
ALWAYS PROVIDED
A system-generated high level overall result of the operation.
Value must be a member of the following list. The values are case sensitive.
FAILURE
The operation was declined or rejected by the gateway, acquirer or issuer
PENDING
The operation is currently in progress or pending processing
SUCCESS
The operation was successfully processed
UNKNOWN
The result of the operation is unknown
Errors
Information on possible error conditions that may occur while processing an operation using the API.
Enumeration
Broadly categorizes the cause of the error.
For example, errors may occur due to invalid requests or internal system failures.
Value must be a member of the following list. The values are case sensitive.
INVALID_REQUEST
The request was rejected because it did not conform to the API protocol.
REQUEST_REJECTED
The request was rejected due to security reasons such as firewall rules, expired certificate, etc.
SERVER_BUSY
The server did not have enough resources to process the request at the moment.
SERVER_FAILED
There was an internal system failure.
String
Textual description of the error based on the cause.
This field is returned only if the cause is INVALID_REQUEST or SERVER_BUSY.
Data can consist of any characters
String
Indicates the name of the field that failed validation.
This field is returned only if the cause is INVALID_REQUEST and a field level validation error was encountered.
Data can consist of any characters
String
Indicates the code that helps the support team to quickly identify the exact cause of the error.
This field is returned only if the cause is SERVER_FAILED or REQUEST_REJECTED.
Data can consist of any characters
Enumeration
Indicates the type of field validation error.
This field is returned only if the cause is INVALID_REQUEST and a field level validation error was encountered.
Value must be a member of the following list. The values are case sensitive.
INVALID
The request contained a field with a value that did not pass validation.
MISSING
The request was missing a mandatory field.
UNSUPPORTED
The request contained a field that is unsupported.
Enumeration
A system-generated high level overall result of the operation.
Value must be a member of the following list. The values are case sensitive.
ERROR
The operation resulted in an error and hence cannot be processed.